﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace BattleTetrixReloaded
{
    public class tet_bonus
    {
        Texture2D texture;
        public Vector2 position;
        public int transparency = 255;

        public tet_bonus(Texture2D texture)
        {
            this.texture = texture;
            position = new Vector2(710, 840);
        }

        public void update()
        {
            position.Y -= 10;
            transparency -= 6;
        }

        public void draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(texture, position, new Color(255, 255, 255, transparency));
        }
    }
}
